Skip to content

President information by name

GET
/api/v1/President/name/{name}

This endpoint returns the information for the president with the provided name

Parameters

Path Parameters

name*
Typestring
Required
Example"Rafael"

Responses

Success

application/json
JSON
{
"id": 0,
"image": "string",
"name": "string",
"lastName": "string",
"startPeriodDate": "string",
"endPeriodDate": "string",
"politicalParty": "string",
"description": "string",
"cityId": 0,
"city": "[Circular Reference]"
}

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI

MIT License